package com.whfc.emp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Description:
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/10/21 11:05
 */
@SpringBootApplication(scanBasePackages = "com.whfc")
@ComponentScan(value = "com.whfc")
@EnableScheduling
@EnableAsync
@PropertySource("classpath:application-dev.properties")
public class EmpServiceProvider {

    public static void main(String[] args) {
        SpringApplication.run(EmpServiceProvider.class, args);
    }
}
